﻿using Nest;

namespace BaseRepository.Elastic;

public class ElasticRepository : IElasticRepository
{
    private ElasticClient _elasticClient;
    public ElasticRepository(ElasticClient elasticClient)
    {
        ArgumentNullException.ThrowIfNull(elasticClient);
        _elasticClient = elasticClient;
    }
}